package com.siha_back.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 专业表(Major)实体类
 *
 * @author makejava
 * @since 2025-04-02 09:07:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Major implements Serializable {
    private static final long serialVersionUID = -52802234068433554L;
/**
     * 专业id
     */
    private Integer id;
/**
     * 专业名称
     */
    private String majorName;
/**
     * 父类id
     */
    private Integer parentId;

    private List<Major> children;
}

